ExternalFilesInMediaLibrary\ExternalFiles\File B

Total Complexity 83
Dependencies 8
Dependents 12
Total lines 850
Lines of code 333
Logical lines of code 203
Comment lines 371
Methods 34
Properties 5

Methods 34

Method Rating Maintainability Complexity Lines of code
switch_to_local()
A
38 11 72
add_to_cache()
A
46 9 39
get_url()
S
55 6 19
delete_thumbs()
S
54 5 20
switch_to_external()
S
59 4 14
is_cached()
S
61 4 13
get_filesize()
S
63 3 11
get_availability()
S
64 3 9
set_mime_type()
S
61 2 13
get_title()
S
67 2 8
prevent_checks()
S
71 2 6
set_login()
S
70 2 6
set_filesize()
S
65 2 9
has_credentials()
S
78 2 3
get_password()
S
68 2 7
get_login()
S
68 2 7
set_password()
S
70 2 6
get_cache_file()
S
65 2 8
get_file_extension()
S
68 2 7
delete_cache()
S
69 2 7
get_file_type_obj()
S
80 1 3
set_metadata()
S
82 1 3
__construct()
S
81 1 3
get_id()
S
82 1 3
set_is_local_saved()
S
79 1 3
is_locally_saved()
S
77 1 3
get_attachment_url()
S
78 1 3
is_valid()
S
79 1 3
set_availability()
S
75 1 4
get_mime_type()
S
80 1 3
set_title()
S
68 1 8
set_url()
S
75 1 4
set_id()
S
81 1 3
get_protocol_handler_obj()
S
80 1 3